import request from "@/utils/request.js";
import utils from "@/utils/utils.js"
export default {
	addQiandao(params) {
		return request({
			url: 'frontuser/prize/addQiandao',
			method: 'post',
			data: params
		})
	},
	addPutong(params) {
		return request({
			url: 'frontuser/prize/addPutong',
			method: 'post',
			data: params
		})
	},
	myQiandaoList(params) {
		return request({
			url: 'frontuser/prize/myQiandaoList',
			method: 'get',
			data: params
		})
	},
	mylist(params) {
		return request({
			url: 'frontuser/prize/mylist',
			method: 'get',
			data: params
		})
	},
	lotteryList(params) {
		return request({
			url: 'frontuser/prize/list',
			method: 'get',
			data: params
		})
	},
	selectPutongTodayToal(params) {
		return request({
			url: 'frontuser/prize/selectPutongTodayToal',
			method: 'get',
			data: params
		})
	},
	selectTodayToal(params) {
		return request({
			url: 'frontuser/prize/selectTodayToal',
			method: 'get',
			data: params
		})
	},
	// 查询当天最后一条
	selectPrizeLast(params) {
		return request({
			url: 'frontuser/prize/selectPrizeLast',
			method: 'get',
			data: params
		})
	},
	getNotice() {
		return request({
			url: 'system/notice/list?pageNum=1&pageSize=10',
			method: 'get',
		})
	},
	prizeList() {
		return request({
			url: '/frontuser/prize/list',
			method: 'get',
		})
	}
}
